package cn.iocoder.yudao.module.train.controller.admin.appointment.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 预约分页 Request VO")
@Data
public class AppointmentPageReqVO extends PageParam {

    @Schema(description = "学生ID", example = "20014")
    private Long studentId;

    @Schema(description = "学生姓名")
    private String studentName;

    @Schema(description = "教师姓名")
    private String teacherName;

    @Schema(description = "商品ID", example = "13955")
    private Long commodityId;

    @Schema(description = "商品名称")
    private String commodityName;

    @Schema(description = "场地ID", example = "14489")
    private Integer venueId;

    @Schema(description = "场地")
    private String venueNo;

    @Schema(description = "预约日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] appointmentDate;

    @Schema(description = "预约时间段(tr_course_time字典)")
    private Integer timeRange;

    @Schema(description = "预约状态", example = "2")
    private Integer appointmentStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
